﻿@model WebStorage.Models.WebUser
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/Content/themes/bootstrap/easyui.css" rel="stylesheet" />
    <link href="~/Content/themes/icon.css" rel="stylesheet" />
    <script src="~/scripts/jquery-1.11.3.min.js"></script>
    <script src="~/scripts/jquery.easyui-1.4.5.min.js"></script>
    <title>@ViewBag.Title</title>
</head>
<body>
    <div class="easyui-panel" style="padding:5px;">
        <a href="#" class="easyui-menubutton" data-options="menu:'#mm2',iconCls:'icon-help'">账户</a>
        <a href="#" class="easyui-menubutton" data-options="menu:'#mm3'">关于</a>
    </div>
    <div id="mm2" style="width:100px;">
        <input type="hidden" id="userid" value="@Model.ID" />
        @if (!string.IsNullOrEmpty(Model.LoginID))
        {
            <div>@Model.LoginID</div>
        }
        else
        {
            <div onclick="$.messager.alert('提示', '尚未开发注册', 'info');">注册</div>
        }
        <div>
            @Html.ActionLink("登出", "Index", "Login")
        </div>
    </div>
    <div id="mm3" class="menu-content" style="background:#f0f0f0;padding:10px;text-align:left">
        <img src="http://www.jeasyui.com/images/logo1.png" style="width:150px;height:50px">
        <p style="font-size:14px;color:#444;">Try jQuery EasyUI to build your modern, interactive, javascript applications.</p>
    </div>
    <div>
        @RenderBody()
    </div>

</body>
</html>
